<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">

  
  <div class="mod">
  	<h2 class="head">投稿</h2>
    <div class="body">
    	<form action="{url("?module=content&action=contribute&catid=$catid&modelid=$modelid")}" method="post" name="myform"  enctype="multipart/form-data">
<table cellpadding="0" cellspacing="1" class="table_form"> 
  {loop $forminfos[base] $field $info}
  <tr>
    <th width="100"> {if $info['star']} <font color="red">*</font>{/if} <strong>{$info[name]}：</strong><br />
    {$info[tips]} </th>
    <td>{$info[form]} </td>
  </tr>
  {/loop}
  <tr>
    <th width="100"><strong>验证码：</strong></th>
    <td><input type="text" name="checkcodestr" size="6" />
      &nbsp;&nbsp;<img src="misc/checkcode/checkcode.php" id="checkcode" onClick="this.src='misc/checkcode/checkcode.php?id='+Math.random()*5;" style="cursor:pointer;" width="48" height="22" alt="验证码,看不清楚?请点击刷新验证码" align="absmiddle" class="color_1" /></td>
  </tr>
  <tr>
    <td></td>
    <td>
    <input type="hidden" name="contribute" value="1"><input type="hidden" name="forward" value="{$forward}">
      <input type="submit" name="dosubmit" value=" 确定 ">
      <input type="reset" name="reset" value=" 清除 ">
    </td>
  </tr>
</table>
</form>
    </div>
  </div>

  

</div>

<script LANGUAGE="javascript">
<!--
$().ready(function() {
	  $('form').checkForm(1);
	});
//-->
</script>
{template 'footer.html'}